home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- import java.beans.PropertyChangeEvent;
- import java.beans.PropertyChangeListener;
- import java.beans.PropertyVetoException;
- import java.util.EventObject;
-
- final class JOptionPane$3 implements PropertyChangeListener {
- // $FF: synthetic field
- private final JOptionPane this$0;
- // $FF: synthetic field
- private final JInternalFrame val$iFrame;
-
- // $FF: synthetic method
- JOptionPane$3(JInternalFrame var1, JOptionPane var2) {
- this.val$iFrame = var1;
- this.this$0 = var2;
- }
-
- public void propertyChange(PropertyChangeEvent var1) {
- if (this.val$iFrame.isVisible() && ((EventObject)var1).getSource() == this.this$0 && (var1.getPropertyName().equals("value") || var1.getPropertyName().equals("inputValue"))) {
- try {
- this.val$iFrame.setClosed(true);
- } catch (PropertyVetoException var2) {
- }
-
- this.val$iFrame.setVisible(false);
- this.val$iFrame.stopModal();
- }
-
- }
- }
-